# Contributor: Sodface <sod@sodface.com>
# Maintainer: Sodface <sod@sodface.com>
pkgname=clifm
pkgver=1.6
pkgrel=0
pkgdesc="CLI file manager"
url="https://github.com/leo-arch/clifm"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	acl-dev
	file-dev
	gettext-tiny-dev
	libcap-dev
	readline-dev
	"
options="!check" # no test suite
subpackages="$pkgname-doc $pkgname-bash-completion $pkgname-zsh-completion"
source="https://github.com/leo-arch/clifm/releases/download/v$pkgver/clifm-$pkgver.tar.gz"

build() {
	make
}

package() {
	make PREFIX=/usr MANDIR=/usr/share/man DESTDIR="$pkgdir" install
}

sha512sums="
a8f6b73070779d0d49b41109bee1b418cb6eb4fb1ac8e684cf859e1137336df2655ddfb5107b50674a5380364f572fe47cc72f58c25c4ff6439593b411a5f69e  clifm-1.6.tar.gz
"
